package com.springboot.astra.service;

import com.springboot.astra.bean.Shopcart;

import java.util.List;

public interface ShopcartService {
    List<Shopcart> getAllByUserId(Integer id);
    void insertOne(Shopcart shopcart);
    void updateOneById(Shopcart shopcart);
    void deleteOneById(Integer id);
    void deleteAllById(Integer userId);
}
